package com.eascs.web.o2o.scheduler.util;
/**
 * 状态常量
 * @author ycz
 *
 */
public class StatusContexts {
	/***************新建******************/
	public static final String O2O_NEW="NEW";
	/***************征信中******************/
	public static final String O2O_ZX_BEGIN="Z";
	/***************征信完成******************/
	public static final String O2O_ZX_END="ZF";
	/***************内审中******************/
	public static final String O2O_NS_BEGIN="N";
	/***************内审完成******************/
	public static final String O2O_NS_END="NF";
	/***************申报中******************/
	public static final String O2O_SB_BEGIN="S";
	/***************银行驳回******************/
	public static final String O2O_SB_FAIL="SN";
	/***************银行审批（已放款）******************/
	public static final String O2O_FK_END="O";
	/***************还款完成******************/
	public static final String O2O_REPAY_END="HN";
	/***************作废******************/
	public static final String O2O_FK_OVER="T";
	/***************代偿******************/
	public static final String O2O_FK_DC="DC";
	/***************是******************/
	public static final String O2O_YES="Y";
	/***************否******************/
	public static final String O2O_NO="N";
	/***************待银行放款******************/
	public static final String O2O_BANK_NEW="NEW";
	/***************还款中******************/
	public static final String O2O_BANK_RUN="RUN";
	/***************还款完成******************/
	public static final String O2O_BANK_CLO="CLO";
	/***************银行驳回******************/
	public static final String O2O_BANK_REJ="REJ";
	/***************待银行审批******************/
	public static final String O2O_BANK_APR="APR";
	
	
	/*****************流程表常量信息****************/
	public static final String WFTYPE_ZX="ZX";//征信
	public static final String WFTYPE_NS="NS";//内审
	public static final String WFTYPE_BZJ="BZJ";//保证金
	public static final String WFTYPE_BRT="BRT";//银行申报
	public static final String WFTYPE_SPECBRT="SPECBRT";//特殊面签
	public static final String WFTYPE_BACKFEE="BF";//退费流程
	public static final String WFTYPE_TQHKJQ="TQHKJQ";//提前还款结清
	public static final String WFTYPE_PAY="PAY";//回款流程
	public static final String WFTYPE_FK="FK";//放款
	public static final String WFTYPE_TYPE_PLACE_ON_FILE = "ONFILE";//归档流程
	public static final String WFTYPE_BACKMONEY="BM";//回款流程（用户根据还款计划表还款）
	public static final String WFTYPE_FINANCE="CW";//财务流程
	
	public static final String WFTYPE_REQUIREMENT_APP="REQUIREMENT_APP";//需求申请
	
	public static final String WFTYPE_TYPE_DHK="TYPE_DHK";//待还款
	
	public static final String WFTYPE_TYPE_DC_FED_BACK="TYPE_DC_FED_BACK";//代偿分期流程
	
	public static final String WFTYPE_TYPE_CREDIT_ARCHIVE="TYPE_CREDIT_ARCHIVE";//征信归档
	
	public static final String WFTYPE_TYPE_FKZZ ="TYPE_FKZZ";//付款转账流程
	
	public static final String WFTYPE_STATUS_BH="BH";
	public static final String WFTYPE_STATUS_RUN="RUN";
	public static final String WFTYPE_STATUS_CLO="CLO";
	public static final String WFTYPE_STATUS_NEW="NEW";
	//征信归档
	public static final String ZXGD_NEW="NEW";
	public static final String ZXGD_RUN="RUN";
	public static final String ZXGD_CLO="CLO";
	public static final String ZXGD_ZF="T";
	
	
	
	/*****************保证金与管理费  未缴纳****************/
	public static final String BZJ_STATUS_NEW="NEW";
	/*****************保证金与管理费   缴纳中****************/
	public static final String BZJ_STATUS_RUN="RUN";
	/*****************保证金与管理费   已缴纳****************/
	public static final String BZJ_STATUS_CLO="CLO";
	/*****************数字常量****************/
	public static final int O2O_SEQUENCE_LENGTH=5;
	/*****************数字常量****************/
	public static final String O2O_ZERO="0";
	public static final String O2O_FIVE="5";
	
	/*********************贷款详情--工作流状态***************************/
	public static final String BEGIN_TITILE="申请贷款";
	public static final String ZX_TITILE="征信调查";
	public static final String NS_TITILE="内部审核";
	public static final String BZJ_TITILE="管理费流程";
	public static final String SB_TITILE="面签申报";
	public static final String FK_TITILE="银行放款";
	public static final String FK_FAIL_TITLE="银行拒绝";
	public static final String FK_TIME_TITILE="放款时间";
	public static final String CONTRACT_TITLE="合同归档";
	public static final String PAY_REPAY_TITLE="还款";
	public static final String COM_BANK_TITLE="退费";
	public static final String HK_TITILE="还款完成";
	public static final String ZF_TITILE="作废";
	public static final String ZF_ZXSX="(系统自动征信失效)";
	public static final String FINSH_TITLE="完成";
	public static final String BEGIN_SUBHEAD_STATUS="开始";
	public static final String RUN_SUBHEAD_STATUS="进行中";
	public static final String END_SUBHEAD_STATUS="结束";
	/** ** 数据库来源NEW-新系统 ** */
	public static final String DATA_SOURCE_NEW="NEW";
	/** ** 数据库来源OLD-老系统 ** */
	public static final String DATA_SOURCE_OLD="OLD";
	/** ** 修改新系统 BZJ 明细 ** */
	public static final String BZJ_NEW_MODIFY="NEW_MODIFY";
	/**
	 * 新收入记录
	 */
	public static final String BZJ_HISTORY_NEW="HISTORY_NEW";
	
	/*********************贷款类型Start***************************/
	public static final String LOAN_TYPE_FQ="FQ";  //分期贷
	public static final String LOAN_TYPE_EA="EA";  //接力贷
	public static final String LOAN_TYPE_BK="BK";  //终端贷
	public static final String LOAN_TYPE_BP="BP";  //品牌贷
	public static final String LOAN_TYPE_DC="DC";  //代偿
	public static final String LOAN_TYPE_PTJL_ROLE="PAY-PTXDJL";  //付款流程平台财务节点角色id
	public static final String LOAN_TYPE_JRZJ_ROLE="O2O-SHJRZJ";
	public static final String LOAN_TYPE_LRSJFK_ROLE="PAY-LRSJFKJE";  //付款流程录入实际付款金额节点角色id

	/*********************贷款类型end***************************/
	
	/*********************支付类型Start***************************/
	public static final String PAY_TYPE_ZD="ZD";  //直贷
	public static final String PAY_TYPE_DF="DF";  //垫付
	/*********************贷款类型end***************************/
	
	/**
	 * 还款状态：PP 本金逾期，PI 利息逾期，PO 本息逾期，JQ 已结清，HKZ 还款中
	 */
	public static final String PLACE_TYPE_PP="PP";  //本金逾期
	public static final String PLACE_TYPE_PI="PI";  //利息逾期
	public static final String PLACE_TYPE_PO="PO";  //本息逾期
	public static final String PLACE_TYPE_JQ="JQ";  //已结清
	public static final String PLACE_TYPE_HKZ="HKZ";  //还款中
	//区域经理角色CODE
	public static final String ROLE_TYPE_QYJLSPR="QYJLSPR";
	//信贷经理角色CODE
	public static final String ROLE_TYPE_NS_XDJL="1007";
	//科目
	/**
	 * 保证金
	 */
	public static final String SUBJECT_TYPE_BZJ = "BZJ";
	/**
	 * 管理费
	 */
	public static final String SUBJECT_TYPE_GLF = "GLF";
	/**
	 * 风险补偿金
	 */
	public static final String SUBJECT_TYPE_FXBCJ = "FXBCJ";
	/**
	 * 代偿本金
	 */
	public static final String SUBJECT_TYPE_DCBJ = "DCBJ";
	/**
	 * 代偿利息
	 */
	public static final String SUBJECT_TYPE_DCLX = "DCLX";
	/**
	 * 代偿罚息
	 */
	public static final String SUBJECT_TYPE_DCFX = "DCFX";
	/**
	 * 划入保证金
	 */
	public static final String SUBJECT_TYPE_HRBZJ = "HRBZJ";
	/**
	 * 划出保证金
	 */
	public static final String SUBJECT_TYPE_HCBZJ = "HCBZJ";
	//付费类型
	/**
	 * 付
	 */
	public static final String PAYMENT_TYPE_F = "F";
	/**
	 * 收
	 */
	public static final String PAYMENT_TYPE_S = "S";
	/**
	 * 虚退
	 */
	public static final String PAYMENT_TYPE_XF = "XF";
	/**
	 * 虚收
	 */
	public static final String PAYMENT_TYPE_XS = "XS";
	/**
	 * 红冲
	 */
	public static final String PAYMENT_TYPE_HC = "HC";
	/**
	 * 蓝补
	 */
	public static final String PAYMENT_TYPE_LB = "LB";
	/*
	 * o2o付费类型
	 */
	public static final String LOANTYPEO2O_DEP = "DEP"; //保证金
	public static final String LOANTYPEO2O_MAN = "MAN"; //管理费
	public static final String LOANTYPEO2O_RISK = "RISK"; //风险补偿金
	
	public static final String SUCCESS = "SUCCESS"; //风险补偿金
	
	/**
	 * 虚收
	 */
	public static final String O2O_BANKTYPE_GACZ = "GACZ"; //国安村镇银行
	public static final String O2O_BANKTYPE_BC = "BC"; //中行
	public static final String O2O_BANKTYPE_CCBHN = "CCBHN"; //中国建设银行-湖南
	public static final String O2O_BANKTYPE_CBC = "CBC"; //中国建设银行-深圳
	public static final String O2O_BANKTYPE_ = "EA"; //怡亚通
	/**
	 * 借款人、配偶   数据字典code
	 */
	public static final String ZX_CODE="ZXBGDATA";
	public static final String ZX_SPOUSE_CODE="POZXBGDATA";
	/**
	 * 征信报告：担保方式
	 */
	public static final String ZX_CAR_TYPE="个人汽车贷款";
	public static final String ZX_HOUSE_TYPE="个人住房贷款";
	public static final String ZX_BANK_TYPE="银行";
	public static final String ZX_MORTGAGE_TYPE="抵押";
	public static final String ZX_CREDIT_TYPE="信用/免担保";
	public static final String ZX_GROUP_TYPE="组合（不含保证）";
	public static final String ZX_OTHER_TYPE="其他";
	public static final String ZX_NATURAL_TYPE="自然人保证";
	public static final String ZX_FARMER_TYPE="农户联保";
	public static final String ZX_PLEDGE_TYPE="质押";
	
	/**
	 * 用户类型
	 */
	public static final String SPONSOR_TYPE_D="D"; //担保人类型
	/**
	 * 日志常量
	 * 
	 */
	public static final String LOG_ACCESS="0";
	
	public static final String LOG_EXCEPTION="1";
	/**
	 * 逾期报表常量
	 */
	public static final String OVERDUE_LXYQ="1";//利息逾期
	public static final String OVERDUE_BJYQ="2";//本金逾期
	public static final String OVERDUE_LXDC="3";//利息代偿
	public static final String OVERDUE_BJDC="4";//本金代偿
	
	public static final String OVERDUE_YQ="YQ";//主表逾期
	public static final String OVERDUE_DC="DC";//主表逾期
	/**
	 * O2O总部ltd_codeS01163-O2O金融中心
	 */
	public static final String O2O_LTD_CODE_S01163="S01163";
	public static final String O2O_WF_CODE_NS_ZJL="NS_ZJL";//终端贷内审平台总节点编码
	public static final String O2O_WF_CODE_NS_FQZJL="FQ_NS_ZJL";  //分期贷内审平台总节点编码
	public static final String O2O_WF_CODE_NS_BPZJL="BP_NS_PTZJL";  //品牌贷内审平台总节点编码
	public static final String O2O_WF_CODE_NS_QYJLSPR="NS_QYJLSPR";  //区域经理节点编码
	public static final String O2O_WF_CODE_NS_QYJLSPR_BP="NS_QYJLSPR_BP";  //品牌贷区域经理节点编码
	public static final String O2O_WF_CODE_MQ_MQ003="mq03";  //面签申报 银行申报审查
	
	
	public static final int O2O_TSMQSB_MESSAGE_SIZE=2000;  //特殊面签申报 原因限制
	/**
	 * 经营模式
	 */
	public static final String OPERATION_MODEL_ZY="ZY";//自营模式
	public static final String OPERATION_MODEL_PTDB="PTDB";//平台担保模式（共享模式）
	public static final String OPERATION_MODEL_YJ="YJ";//佣金模式（推荐模式）
	
	/**
	 * 菜单类型
	 */
	public static final int RESOURCE_TYPE_CD=1;//菜单
	public static final int RESOURCE_TYPE_QX=2;//权限
	
	/**
	 * o2oliketype
	 */
	public static final String O2OLIKETYPE_TYPE_ZX="ZX";//征信
	public static final String O2OLIKETYPE_TYPE_NS="NS";//内审
	public static final String O2OLIKETYPE_TYPE_MQSB="MQSB";//面签申报
	
	/**
	 * 否决/作废类型
	 */
    public static final String CANCLE_TYPE = "CANCLE";//作废
    public static final String VETO_TYPE = "VETO";//否决
}
